package com.zhongke.cotrun.model.pojo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页
 *
 * @author xiangdai
 */
@Data
@ApiModel(value="包装类",description="包装类")
public class PageQueryResult<T> implements Serializable {

    private int count;

    private List<T> data;

    public PageQueryResult() {
    }

    public PageQueryResult(int count, List<T> data) {
        this.count = count;
        this.data = data;
    }
}
